<template>
  <div class="card bg-white mt-3 px-3">
    <div class="card-header d-flex ai-center py-3 mb-3">
      <i class="iconfont" :class="`icon-${icon}`"></i>
      <span class="fs-xl flex-1 px-2">{{ title }}</span>
      <i class="iconfont icon-moreread fs-xxl"></i>
    </div>

    <div class="card-body text-grey">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: { type: String, required: true },
    icon: { type: String, required: true }
  },
  data () {
    return {

    }
  },
  computed: {

  },
  created () {

  },
  mounted () {

  },
  watch: {

  },
  methods: {

  },
  components: {

  }
}
</script>

<style lang="scss">
@import "../assets/scss/variables";
.card {
  border-bottom: 1px solid $border-color;
  .card-header {
    border-bottom: 1px solid $border-color;
  }
}
</style>
